package com.ccys.db.mapper;

import com.ccys.db.dto.masterData.MedicationUsagePeriodPageQueryDto;
import com.ccys.db.entity.TblMedicationUsagePeriod;
import com.ccys.db.vo.app.splashscreen.MedicationUsagePeriodsMakeListVo;
import com.ccys.db.vo.masterData.MedicationUsagePeriodPageVo;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * Created by Mybatis Generator on 2023/12/08
 */
public interface TblMedicationUsagePeriodMapper extends Mapper<TblMedicationUsagePeriod>, MySqlMapper<TblMedicationUsagePeriod> {

    List<MedicationUsagePeriodPageVo> findPage(MedicationUsagePeriodPageQueryDto dto);

    /**
     * GetMasterData接口查询所有未删除的用药周期
     *
     * @return
     */
    List<MedicationUsagePeriodsMakeListVo> getMasterDataFindList();
}